package com.example.demo.model;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Admin
 * Date: 2023-02-16
 * Time: 18:43
 */
@Component
@ConfigurationProperties(prefix = "mylist")
@Getter     //提供get方法
@Setter     //提供set方法
public class MyList {

    private List dbtype;

}
